<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/base.css">
</head>

<body>
    <!-- 项目容器 start-->
    <div id="app" class="app">
        <search-bar></search-bar>
        <div class="content-box">
            <!-- 首页分类列表 start -->
            <div class="films-box">
                <div class="list-name">
                    <span>热门电影</span>
                </div>
                <div class="content-list">
                    <film-item v-for="item in 12"></film-item>
                </div>
            </div>
        </div>
    </div>
    <!-- 项目容器 end-->
    <script src="./js/common.js"></script>
    <script type="module">
        // 加载 Vue3 的ESM 模块文件
        import { createApp } from "./js/vue.esm-browser.js"
        import SearchBar from "./components/SearchBar.js";
        import FilmItem from "./components/FilmItem.js";
        createApp({
            components: {
                "search-bar":SearchBar,
                "film-item":FilmItem
            },
            data() {
                return {

                }
            }
        }).mount("#app")
    </script>
</body>

</html>